import java.util.Comparator;


public class CompareNom implements Comparator <Sommet>{

	public int compare(Sommet s1, Sommet s2) {
		return s1.getNom().compareTo(s2.getNom());
	}
}